package com.wad.security;


import com.wad.common.ResponseResult;
import com.wad.domain.User;
import org.springframework.stereotype.Service;
import org.springframework.web.util.WebUtils;

import java.io.UnsupportedEncodingException;

@Service
public interface LoginService {

    ResponseResult login(User user) throws Exception;

    ResponseResult logout();

    ResponseResult register(User user);
}
